package com.dkd.sbtz.domain.vo.spare;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class SparePlanInfoDTO {
    private Long assetId;
    private Long spareId;
    private Long planId;          // ✨ 新增：计划ID
    private String assetName;     // ✨ 新增：设备名称
    private String planTitle;     // ✨ 新增：计划任务标题（计划名）

    private String name;
    private String code;
    private Integer qty;
    private Integer type;
    private Integer orderDate;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date planDate;
}
